<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>sdps: xsdps.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">sdps
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xsdps_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xsdps.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the device.  <a href="struct_x_sd_ps___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_sd_ps.html">XSdPs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> driver instance data.  <a href="struct_x_sd_ps.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gad5f983cd6daadb92a96fa4e7674541cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gad5f983cd6daadb92a96fa4e7674541cc">XSDPS_CT_ERROR</a>&#160;&#160;&#160;0x2U</td></tr>
<tr class="memdesc:gad5f983cd6daadb92a96fa4e7674541cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Command timeout flag.  <a href="group__sdps__v2__5.html#gad5f983cd6daadb92a96fa4e7674541cc">More...</a><br /></td></tr>
<tr class="separator:gad5f983cd6daadb92a96fa4e7674541cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf7596df11ad001d37fd1f4482a817270"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gaf7596df11ad001d37fd1f4482a817270">MAX_TUNING_COUNT</a>&#160;&#160;&#160;40U</td></tr>
<tr class="memdesc:gaf7596df11ad001d37fd1f4482a817270"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum Tuning count.  <a href="group__sdps__v2__5.html#gaf7596df11ad001d37fd1f4482a817270">More...</a><br /></td></tr>
<tr class="separator:gaf7596df11ad001d37fd1f4482a817270"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga27d6bd37204cdb0c26430efedd8e97eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga27d6bd37204cdb0c26430efedd8e97eb">XSdPs_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga27d6bd37204cdb0c26430efedd8e97eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Looks up the device configuration based on the unique device ID.  <a href="group__sdps__v2__5.html#ga27d6bd37204cdb0c26430efedd8e97eb">More...</a><br /></td></tr>
<tr class="separator:ga27d6bd37204cdb0c26430efedd8e97eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabcd75a06ca4fb42ebcec4526282dffdf"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">XSdPs_CfgInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, <a class="el" href="struct_x_sd_ps___config.html">XSdPs_Config</a> *ConfigPtr, u32 EffectiveAddr)</td></tr>
<tr class="memdesc:gabcd75a06ca4fb42ebcec4526282dffdf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a specific <a class="el" href="struct_x_sd_ps.html" title="The XSdPs driver instance data. ">XSdPs</a> instance such that the driver is ready to use.  <a href="group__sdps__v2__5.html#gabcd75a06ca4fb42ebcec4526282dffdf">More...</a><br /></td></tr>
<tr class="separator:gabcd75a06ca4fb42ebcec4526282dffdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e9a576dfdb4440a795eb6e712994050"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">XSdPs_SdCardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga8e9a576dfdb4440a795eb6e712994050"><td class="mdescLeft">&#160;</td><td class="mdescRight">SD initialization is done in this function.  <a href="group__sdps__v2__5.html#ga8e9a576dfdb4440a795eb6e712994050">More...</a><br /></td></tr>
<tr class="separator:ga8e9a576dfdb4440a795eb6e712994050"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8dfe3686ed74d09a2a46a7b5cddcde47"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">XSdPs_ReadPolled</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Arg, u32 BlkCnt, u8 *Buff)</td></tr>
<tr class="memdesc:ga8dfe3686ed74d09a2a46a7b5cddcde47"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function performs SD read in polled mode.  <a href="group__sdps__v2__5.html#ga8dfe3686ed74d09a2a46a7b5cddcde47">More...</a><br /></td></tr>
<tr class="separator:ga8dfe3686ed74d09a2a46a7b5cddcde47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69aa57979c1ef9b9ec3fbdc6d8ab7277"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">XSdPs_WritePolled</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Arg, u32 BlkCnt, const u8 *Buff)</td></tr>
<tr class="memdesc:ga69aa57979c1ef9b9ec3fbdc6d8ab7277"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function performs SD write in polled mode.  <a href="group__sdps__v2__5.html#ga69aa57979c1ef9b9ec3fbdc6d8ab7277">More...</a><br /></td></tr>
<tr class="separator:ga69aa57979c1ef9b9ec3fbdc6d8ab7277"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1af3178b4b24c991b431eb7a0aa3b23b"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">XSdPs_SetBlkSize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u16 BlkSize)</td></tr>
<tr class="memdesc:ga1af3178b4b24c991b431eb7a0aa3b23b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update Block size for read/write operations.  <a href="group__sdps__v2__5.html#ga1af3178b4b24c991b431eb7a0aa3b23b">More...</a><br /></td></tr>
<tr class="separator:ga1af3178b4b24c991b431eb7a0aa3b23b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga17d43f52a8948d5ec4f315641336d115"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga17d43f52a8948d5ec4f315641336d115">XSdPs_Select_Card</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga17d43f52a8948d5ec4f315641336d115"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects card and sets default block size.  <a href="group__sdps__v2__5.html#ga17d43f52a8948d5ec4f315641336d115">More...</a><br /></td></tr>
<tr class="separator:ga17d43f52a8948d5ec4f315641336d115"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f8661e4ae53a7c29b3fd44cc56a3673"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">XSdPs_Change_ClkFreq</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 SelFreq)</td></tr>
<tr class="memdesc:ga1f8661e4ae53a7c29b3fd44cc56a3673"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to change clock freq to given value.  <a href="group__sdps__v2__5.html#ga1f8661e4ae53a7c29b3fd44cc56a3673">More...</a><br /></td></tr>
<tr class="separator:ga1f8661e4ae53a7c29b3fd44cc56a3673"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf11db1719933123762fecb790a2977da"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">XSdPs_Change_BusWidth</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaf11db1719933123762fecb790a2977da"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to set bus width to 4-bit in card and host.  <a href="group__sdps__v2__5.html#gaf11db1719933123762fecb790a2977da">More...</a><br /></td></tr>
<tr class="separator:gaf11db1719933123762fecb790a2977da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6bc000fb4ce51502058f2e351c90fc19"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">XSdPs_Change_BusSpeed</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga6bc000fb4ce51502058f2e351c90fc19"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to set high speed in card and host.  <a href="group__sdps__v2__5.html#ga6bc000fb4ce51502058f2e351c90fc19">More...</a><br /></td></tr>
<tr class="separator:ga6bc000fb4ce51502058f2e351c90fc19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga779d417f6a1e5d772b017a92485583a1"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">XSdPs_Get_BusWidth</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *SCR)</td></tr>
<tr class="memdesc:ga779d417f6a1e5d772b017a92485583a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to get bus width support by card.  <a href="group__sdps__v2__5.html#ga779d417f6a1e5d772b017a92485583a1">More...</a><br /></td></tr>
<tr class="separator:ga779d417f6a1e5d772b017a92485583a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafc7e71cb62142d0ef939336195102666"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">XSdPs_Get_BusSpeed</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *ReadBuff)</td></tr>
<tr class="memdesc:gafc7e71cb62142d0ef939336195102666"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to get bus speed supported by card.  <a href="group__sdps__v2__5.html#gafc7e71cb62142d0ef939336195102666">More...</a><br /></td></tr>
<tr class="separator:gafc7e71cb62142d0ef939336195102666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0be8518af877aa1fe5f7c6b86ac4f7f8"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga0be8518af877aa1fe5f7c6b86ac4f7f8">XSdPs_Pullup</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga0be8518af877aa1fe5f7c6b86ac4f7f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to send pullup command to card before using DAT line 3(using 4-bit bus)  <a href="group__sdps__v2__5.html#ga0be8518af877aa1fe5f7c6b86ac4f7f8">More...</a><br /></td></tr>
<tr class="separator:ga0be8518af877aa1fe5f7c6b86ac4f7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae55b1aa663629e99a9da94619c7487c5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">XSdPs_MmcCardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:gae55b1aa663629e99a9da94619c7487c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Mmc initialization is done in this function.  <a href="group__sdps__v2__5.html#gae55b1aa663629e99a9da94619c7487c5">More...</a><br /></td></tr>
<tr class="separator:gae55b1aa663629e99a9da94619c7487c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c3ab46b98e997b8439af4b149445811"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">XSdPs_CardInitialize</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga3c3ab46b98e997b8439af4b149445811"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize Card with Identification mode sequence.  <a href="group__sdps__v2__5.html#ga3c3ab46b98e997b8439af4b149445811">More...</a><br /></td></tr>
<tr class="separator:ga3c3ab46b98e997b8439af4b149445811"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga69e8d7cd927da4273a12d0d5fb3f36ff"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">XSdPs_Get_Mmc_ExtCsd</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u8 *ReadBuff)</td></tr>
<tr class="memdesc:ga69e8d7cd927da4273a12d0d5fb3f36ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to get EXT_CSD register of eMMC.  <a href="group__sdps__v2__5.html#ga69e8d7cd927da4273a12d0d5fb3f36ff">More...</a><br /></td></tr>
<tr class="separator:ga69e8d7cd927da4273a12d0d5fb3f36ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaee773eef8e260b4498dc607061eb18f6"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__sdps__v2__5.html#gaee773eef8e260b4498dc607061eb18f6">XSdPs_Set_Mmc_ExtCsd</a> (<a class="el" href="struct_x_sd_ps.html">XSdPs</a> *InstancePtr, u32 Arg)</td></tr>
<tr class="memdesc:gaee773eef8e260b4498dc607061eb18f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">API to write EXT_CSD register of eMMC.  <a href="group__sdps__v2__5.html#gaee773eef8e260b4498dc607061eb18f6">More...</a><br /></td></tr>
<tr class="separator:gaee773eef8e260b4498dc607061eb18f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
